package gui.body;

import javax.swing.JFrame;

import model.listener.DataListener;


public class BodyFrame extends JFrame {
	/**
	 * 
	 */
	private static final long serialVersionUID = 175669756876146275L;

	protected BodyPaint body;
	
	public BodyFrame(int maxUsers) {
		super();
		body = new BodyPaint(maxUsers);
		this.setSize(600,600);
		this.add(body);
		this.setTitle("Skeleton");
		this.setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
	}
	
	public DataListener getBodyDataListener(){
		return body;
	}

}
